//
//  YDHBasePopView.h
//  YunDaHome-iOS
//
//  Created by yunda on 2020/6/8.
//  Copyright © 2020 YunDa. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/// pop动画样式
typedef NS_ENUM(NSUInteger, PopAnimationType) {
    /// 从中间弹出
    PopAnimationType_Center = 0,
    /// 从上面弹出
    PopAnimationType_Top = 2,
    /// 从底部弹出
    PopAnimationType_Bottom = 3,
};

@interface YDHBasePopView : UIView

/// 视图背景view
@property (strong, nonatomic)  UIView *viewBg;
/// 动画样式
@property (assign, nonatomic)  PopAnimationType animationType;

- (void)show;

- (void)dismiss;

@end

NS_ASSUME_NONNULL_END
